package com.company.card_service.model;


import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

@Getter
@Setter
@TableName("company_model")
@ApiModel(value = "CompanyModel对象", description = "")
public class CompanyModel {

    @ApiModelProperty("id")
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("公司id")
    @TableField("company_id")
    private Integer companyId;

    @ApiModelProperty("模块名称")
    @TableField("name")
    private String name;


    @ApiModelProperty("url")
    @TableField("url")
    private String  url;

    @ApiModelProperty("是否展示")
    @TableField("is_show")
    private Integer isShow;

    @ApiModelProperty("创建时间")
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty("修改时间")
    @TableField("update_time")
    private Date updateTime;

    @ApiModelProperty("逻辑删除")
    @TableField("is_deleted")
    @TableLogic
    private Integer isDeleted;

}
